home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 43
/
Aminet 43 (2001)(GTI - Schatztruhe)[!][Jun 2001].iso
/
Aminet
/
util
/
sys
/
Lightpen.readme
< prev
next >
Wrap
Text File
|
2001-05-03
|
3KB
|
69 lines
Short: Lightpen-Handler, use lightpen instead of mouse
Author: Andreas Klingler
Uploader: mark_k@iname.com
Version: 1.1
Type: util/sys
Lightpen-Handler
================
(c) Copyright by Andreas Klingler 1988,1991
This program is freely distributable but is NOT public domain. It MAY NOT
be included in any commercial package, or sold for ANY amount, without
written permission from the author. However if may be included on any
freely distributable package, including packages for which a nominal
copying fee of no more than $5 is charged, as long as this copyright notice
keeps intact.
This software is distributed as-is, without any warranty.
Don`t blame me for any trouble this gets you into.
What`s it all about?
--------------------
Every Amiga has a hardware build in to connect a lightpen to it. However
this feature is rarely used, so I decided to write a software to use a
lightpen just like you use the mouse. You even can use the mouse and a
lightpen simultaniously and your applications don`t notice any difference.
Unfortunately the resolution of the light pen registers is not very high
(vertical 1 non-interlaced scan line, horizontal 2 low-res pixels), but for
normal menu selections and gadget pressing it is more than sufficient.
Files in the distribution:
README - Guess what? You are reading this!
lp - Ready to go code
lp.info - Yes, you can start it from workbench, too
lp.c - SAS/C source
makefile- for SAS/C LMK
To use the handler
just plug in your lightpen in
Joyport 1 (the right one) on an A2000
Joyport 0 (the front one) on an A1000
and start the program from CLI or Workbench (you don`t need to RUN it). To
remove the handler just run it again. If you start it from the CLI it
gives some output on what`s going on. KS 2.0 should be no problem. As you
may have noticed there is a difference between the A1000 and the A2000 (and
the other Amigas?): On the A1000 you have to plug the lightpen in the same
port the mouse goes. To be still able to use the mouse you should first
run a program which attaches the mouse to the other port.
(However buttonsupport is hardwired for port1, but you can change it
to port0 in the source)
============================= Archive contents =============================
Original Packed Ratio Date Time Name
-------- ------- ----- --------- -------- -------------
2293 1174 48.8% 06-Mar-01 14:01:28 +Lightpen.readme
2996 1883 37.1% 06-Mar-01 13:28:16 +lp
8348 3372 59.6% 06-Mar-01 13:28:06 +lp.c
254 110 56.6% 06-Mar-01 13:28:16 +lp.info
269 207 23.0% 06-Mar-01 13:28:06 +makefile
4145 2048 50.5% 06-Mar-01 13:28:06 +README
-------- ------- ----- --------- --------
18305 8794 51.9% 12-Mar-101 19:20:02 6 files